home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Programming / mpatrol / man / cat1 / mleak.1 next >
Text File  |  2000-05-16  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. MLEAK(1)                 mpatrol library                 MLEAK(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        mleak - locates memory leaks in an mpatrol log file
  9.  
  10. SSYYNNOOPPSSIISS
  11.        mmlleeaakk [--VV] [_f_i_l_e]
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        The  mmlleeaakk  command  is used to display all unfreed memory
  15.        allocations from  a  log  file  produced  by  the  mpatrol
  16.        library.  This should be used if the mpatrol library could
  17.        not finish writing the log file due  to  abnormal  program
  18.        termination  (which  would  prevent the SSHHOOWWUUNNFFRREEEEDD option
  19.        from working), but note that some of the  unfreed  alloca-
  20.        tions  might have been freed if the program had terminated
  21.        successfully.
  22.  
  23.        The mmlleeaakk command scans through an mpatrol log file  look-
  24.        ing  for lines beginning with _A_L_L_O_C_: and _F_R_E_E_: but ignores
  25.        lines beginning with _R_E_A_L_L_O_C_:, so only the  LLOOGGAALLLLOOCCSS  and
  26.        LLOOGGFFRREEEESS  options  are  necessary  when  running a program
  27.        linked with the mpatrol library.  Note that as a result of
  28.        this, no attempt is made to account for resizing of memory
  29.        allocations and so the total amount of memory used by  the
  30.        resulting  unfreed  allocations  may not be entirely accu-
  31.        rate.
  32.  
  33.        The _f_i_l_e argument must be a valid mpatrol log filename but
  34.        if  _f_i_l_e is omitted then mmlleeaakk will use _m_p_a_t_r_o_l_._l_o_g as the
  35.        name of the log file to use.  The mmlleeaakk command makes  two
  36.        passes  over  the  log  file so the file must be randomly-
  37.        accessable.  If _f_i_l_e is given as _- then the standard input
  38.        file stream will be used as the log file.
  39.  
  40. OOPPTTIIOONNSS
  41.        --VV     Displays the version number of the mmlleeaakk command.
  42.  
  43. SSEEEE AALLSSOO
  44.        mmppaattrrooll(1), mmpprrooff(1), mmppaattrrooll(3).
  45.  
  46.        The mpatrol manual, reference card and FAQ.
  47.  
  48.        http://www.cbmamiga.demon.co.uk/mpatrol/
  49.  
  50. AAUUTTHHOORR
  51.        Graeme S. Roy <graeme@epc.co.uk>
  52.  
  53. CCOOPPYYRRIIGGHHTT
  54.        Copyright (C) 1997-2000 Graeme S. Roy <graeme@epc.co.uk>
  55.  
  56.        This  library  is  free  software; you can redistribute it
  57.        and/or modify it under the terms of the GNU  Library  Gen-
  58.        eral  Public  License  as  published  by the Free Software
  59.        Foundation; either version 2 of the License, or  (at  your
  60.        option) any later version.
  61.  
  62.  
  63.  
  64. Release 1.2                12 May 2000                          1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MLEAK(1)                 mpatrol library                 MLEAK(1)
  71.  
  72.  
  73.        This  library  is  distributed in the hope that it will be
  74.        useful, but WITHOUT ANY WARRANTY; without even the implied
  75.        warranty  of  MERCHANTABILITY  or FITNESS FOR A PARTICULAR
  76.        PURPOSE.  See the GNU Library General Public  License  for
  77.        more details.
  78.  
  79.        You should have received a copy of the GNU Library General
  80.        Public License along with this library; if not,  write  to
  81.        the Free Software Foundation, Inc., 59 Temple Place, Suite
  82.        330, Boston, MA 02111-1307, USA.
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. Release 1.2                12 May 2000                          2
  131.  
  132.  
  133.